package com.sxl.main;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

/**
 * @author songxulin
 * @date 2023/10/18
 */
public class URLDecodeExample {
    public static void main(String[] args) {
        String encodedText = "%B0%DB%B7%D6%D6%AE%D2%C2%B7%FE%CA%CE";

        try {
            String decodedText = URLDecoder.decode(encodedText, "UTF-8");
            System.out.println(decodedText);
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }
    }
}
